import java.util.ArrayList;
import java.util.Scanner;

public class BubbleSort {
    public static void main(String[] args) {
        ArrayList<Integer> array = new ArrayList<Integer>();
        Scanner in = new Scanner(System.in);
        String l = in.nextLine();
        Scanner sc = new Scanner(l);
        while(sc.hasNext()) {
            array.add(sc.nextInt());
        }
        Integer[] arr = new Integer[array.size()];
        arr = array.toArray(arr);
        sort(arr);
        for (Integer integer : arr) {
            System.out.print(integer + " ");
        }
    }

    public static void sort(Integer[] array) {
        int len = array.length;
        for (int i = 0; i < len-1; i++) {
            for (int j = i+1; j < len; j++) {
                if (array[i] > array[j]) {
                    int temp = array[i];
                    array[i] = array[j];
                    array[j] = temp;
                }
            }
        }
    }
}
